#ifndef ASYNC_IO_H
#define ASYNC_IO_H

typedef void (*AsyncCallback)(int fd, const char *buffer, ssize_t num_bytes);

void async_read(int fd, char *buffer, size_t buffer_size, AsyncCallback callback);
void async_write(int fd, const char *buffer, size_t buffer_size, AsyncCallback callback);

#endif  // ASYNC_IO_H
